//
//  CHBaseColDataSource.swift
//  CHSimpleUI
//
//  Created by cyptt on 2023/3/30.
//

import UIKit
public typealias dataColSourceSuccessBlock = (_ cell:UICollectionViewCell,_ model:Any,_ indexPath:IndexPath,_ colectionView:UICollectionView) -> Void
open class CHBaseColDataSource: NSObject {

    public var identifier:String = ""
    public var successCallBack:dataColSourceSuccessBlock?
    
    public  var datas:[Any] = [];
    
    public init(identifier: String, successCallBack: dataColSourceSuccessBlock? = nil) {
        self.identifier = identifier
        self.successCallBack = successCallBack
    }
}
